home *** CD-ROM | disk | FTP | other *** search
/ No Fragments Archive 12: Textmags & Docs / nf_archive_12.iso / MAGS / SOURCES / ATARI_SRC.ZIP / atari source / FALCON / ACC / OUTLINE.ACC / LEX.H < prev    next >
Encoding:
C/C++ Source or Header  |  2001-02-10  |  768 b   |  32 lines

  1. /* lex.h for extend.sys files
  2.  * 900814 kbad
  3.  */
  4.  
  5. typedef enum {
  6.     NO_TOKEN=-1,    /* illegal token    */
  7.     EOI,        /* end of input        */
  8.     SEMI,        /* ; comment character    */
  9.     EQUAL,        /* =            */
  10.     COMMA,        /* ,            */
  11.     PATH,        /* PATH            */
  12.     PATHSPEC,    /* drv:\path<path>    */
  13.     BITCACHE,    /* BITCACHE        */
  14.     FSMCACHE,    /* FSMCACHE        */
  15.     WIDTH,        /* WIDTHTABLES        */
  16.     SYMBOL,        /* SYMBOL        */
  17.     HEBREW,        /* HEBREW        */
  18.     FONT,        /* FONT            */
  19.     POINTS,        /* POINTS        */
  20.     NUMBER
  21. } Token;
  22.  
  23. extern char *yytext;    /* lex        - lexeme (not null-terminated)    */
  24. extern int  yyleng;    /* lex        - lexeme length            */
  25. extern int  yylineno;    /* lex        - input line number            */
  26.  
  27. int        isfilechar( int c );
  28. int        ispathchar( int c );
  29.  
  30. int        match( Token token );
  31. void        advance( void );
  32.